package org.association.enums;

import lombok.Getter;

/**
 * 提议结果
 */
@Getter
public enum ProposalResultEnum {
    SUCCESS(true, 1),

    FAIL(false, 0);

    private final Boolean success;

    private final Integer code;

    ProposalResultEnum(boolean success, int code) {
        this.success = success;
        this.code = code;
    }
}
